Skip to content

docs(cn): fix inconsistent link text for "State: 组件的记忆" page to match… #1721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2025

Conversation

Fpicacho
Copy link
Contributor

@Fpicacho Fpicacho commented May 25, 2025

Fixes

Unified the link text "State: 一个组件的内存" to "State: 组件的记忆" to match the target page title and improve consistency.

Background

The current link text is inconsistent with the target page title, which may confuse users into thinking they’ve navigated to the wrong page.

The original English title is "State: A Component’s Memory," translated as "组件的记忆."

修复内容

  • 将“State: 一个组件的内存”链接文字统一为“State:组件的记忆”,与跳转后页面标题一致,提升一致性。

背景说明

  • 当前链接文字与目标页面标题不一致,可能导致用户以为跳错了。
  • 原文为 "State: A Component’s Memory",翻译标题为“组件的记忆”。

https://zh-hans-react-m3iriq75x-fbopensource.vercel.app/learn/passing-props-to-a-component#how-props-change-over-time

Copy link

vercel bot commented May 25, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
zh-hans-react-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 25, 2025 9:06am

Copy link
Collaborator

@loveloki loveloki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@loveloki loveloki merged commit 1fa1a78 into reactjs:main May 29, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants